<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script>
        var computers = {
            color: '深空灰',
            weight: '2.3kg',
            brand: '打人硕',
            model: '天选3',
            seeMovie: function () {
                console.log(`我在看电影`);
            },
            listenMusic: function () {
                console.log('我在听音乐');
            },
            playGame: function () {
                console.log(`我在打游戏`);
            },
            knockcode: function () {
                console.log(`我在敲代码`);
            }
        }
        computers.seeMovie();
        computers.listenMusic();
        computers.playGame();
        computers.knockcode();
    </script>
</head>

<body>

</body>

</html>